﻿.foo {} /* W3C CSS validator likes CSS files to start with a class rather than a comment. Soooooo.... */

/* This style sheet is intended to contain OFTEN CHANGED rules used when the DetailsView control adapter is enabled. */
/* See FormViewExample.css for comparison of similar rules. */

#SampleDetailsView
{
    width:20em;
    position:relative;
}

/* Please refer to FormViewExample.css for comments on these rules. */
.CssDetailsView div.AspNet-DetailsView-Header
{
    color: #F7F6F3;
    background-color: #5D7B9D;
    font-weight: bold;
    padding: 4px 0 4px 4px;
    position:relative;
}

/* Each field defined for the DetailsView generates an individual list item (li) in the rendered HTML. */
/* Each li effectively is a row in a table (though no table tag is generated by the adapter). */
.CssDetailsView div.AspNet-DetailsView-Data li
{
    padding: 3px 0 2px 4px;
    color: #333333;
    background-color: White;
    vertical-align: middle;
    min-height:1.4em; /* ADDED for Firefox */
    list-style:none;
    clear:left;
}

/* Every other field is marked as being "Alternate." */
/* This allows you to define an "alternating row" style (though the adapter doesn't actually generate an HTML table). */
.CssDetailsView div.AspNet-DetailsView-Data li.AspNet-DetailsView-Alternate
{
    background-color: #F7F6F3;
}

/* This corresponds to the HeaderText attribute of an <asp:BoundField>. */
.CssDetailsView div.AspNet-DetailsView-Name
{
	margin-right:10px;
    min-width: 150px;
    text-align:right;
    float:left;
    font-weight: bold;
}

/* This corresponds to the DataField attribute of an <asp:BoundField>. */
.CssDetailsView div.AspNet-DetailsView-Value
{
	min-width:250px;
    margin-left:0px;
    text-align:left;
    float:left;
}

/* --------------------------------------------------------------------------------------------------- */
/* Please refer to FormViewExample.css for comments on these rules. */
.CssDetailsView .AspNet-DetailsView-Pagination
{
    background-color: #284775;
    text-align:center;
    padding: 4px 0 4px 0;
    position:relative;
}

.CssDetailsView .AspNet-DetailsView-ActivePage
{
    color: White;
    margin-left: 4px;
}

.CssDetailsView .AspNet-DetailsView-OtherPage
{
    color: #00FFFF;
    text-decoration:none;
    margin-left: 4px;
}